package com.hbt.english.service;


import com.hbt.api.entity.CommonResult;
import com.hbt.api.entity.User;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface UserService {
    public CommonResult dologin(User user);
    public CommonResult getUserByUsername(String token);
    public CommonResult uploadAvatar(MultipartFile file, String token) throws IOException;
}
